<table cellpadding="0" cellspacing="0" width="100%" align="left" class="table-list">
    <col width="50%">
    <col width="50%">
    <?php foreach ($aryOrderDetail as $key => $value) {?>
        <tr class="<?php echo ($key % 2 == 0) ? 'alt' : '' ?>">
            <td>
                <ul class="ul-list-order">
                    <li class="list-order-header">Họ tên</li>
                    <li class="list-order-detail"><?php echo $value['order_detail_full_name'];?></li>
                    
                </ul>
                <ul class="ul-list-order">
                    <li class="list-order-header">Địa chỉ</li>
                    <li class="list-order-detail"><?php echo $value['order_detail_address'];?></li>
                </ul>
                <ul class="ul-list-order">
                    <li class="list-order-header">Điện thoại</li>
                    <li class="list-order-detail"><?php echo $value['order_detail_phone_number'];?></li>
                </ul>
                <ul class="ul-list-order">
                    <li class="list-order-header">Email</li>
                    <li class="list-order-detail"><?php echo $value['order_detail_email'];?></li>
                </ul>
                <ul class="ul-list-order">
                    <li class="list-order-header">Tên công ty</li>
                    <li class="list-order-detail"><?php echo $value['order_detail_company_name'];?></li>
                </ul>
                <ul class="ul-list-order">
                    <li class="list-order-header">Địa chỉ công ty</li>
                    <li class="list-order-detail"><?php echo $value['order_detail_company_address'];?></li>
                </ul>
                <ul class="ul-list-order">
                    <li class="list-order-header">Mã số thuế</li>
                    <li class="list-order-detail"><?php echo $value['order_detail_company_tax_code'];?></li>
                </ul>
                <ul class="ul-list-order">
                    <li class="list-order-header">Địa chỉ giao hàng</li>
                    <li class="list-order-detail"><?php echo $value['order_detail_address_delivery'];?></li>
                </ul>
            </td>
            <td>
                <ul class="ul-list-order">
                    <li class="list-order-product-header w200p">Tên sản phẩm</li>
                    <li class="list-order-product-header">Số lượng</li>
                </ul>
                <?php foreach ($aryProductOrder as $key2 => $product) {?>
                    <?php if($product['product_order_detail_id'] == $value['order_detail_id']) {?>
                    <ul class="ul-list-order">
                        <li class="w200p"><?php echo $product['product_order_product_name'];?></li>
                        <li><?php echo $product['product_order_total_product'];?></li>
                    </ul>
                    <?php } ?>
                <?php } ?>

            </td>
        </tr>
        <tr class="<?php echo ($key % 2 == 0) ? 'alt' : '' ?>">
            <td colspan="2" align="right">
                <span style="color: #FDA703;">
                    <?php if($value['order_detail_is_process'] == 0){?>
                        (Đơn hàng mới)
                    <?php }else if($value['order_detail_is_process'] == 1){ ?>
                        (Đã xử lý)
                    <?php }else if($value['order_detail_is_process'] == 2){ ?>
                        (Đang chờ xử lý)
                    <?php }?>
                </span>
                <span><a class="cpointer" onclick="AdminController.viewDetailOrder(<?php echo $value['order_detail_id'];?>, '<?php echo $type;?>')">Xem chi tiết</a></span>
            </td>
        </tr>
    <?php } ?>

</table>
<div class="clear"></div>
<div align="right"><?php echo $strPaging; ?></div>